<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //输出星期练习（请使用switch分支语句来书写程序）
        let num=+prompt('请输入星期数字')
        switch (num) {
            case 1:
                alert('今天是Monday  ')
                break;
                  case 2:
                alert('今天是Tuesday ')
                break;
                  case 3:
                alert('今天是Wednesday ')
                break;
                  case 4:
                alert('今天是Thursday  ')
                break;
                  case 5:
                alert('今天是Friday  ')
                break;
                  case 6:
                alert('今天是Saturday  ')
                break;
                  case 7:
                alert('今天是Sunday  ')
                break;
        
            default:
                break;
        }
    </script>
</body>
</html>